<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>边框的复合写法</title>
    <style>
        .bav {
            width: 300px;
            height: 300px;
            /*
            border-color: red;
            border-width: 5px;
            border-style: solid;
            边框的复合写法
            /* border: 5px solid pink; */
            /* 上边框 */
            border-top: 5px solid pink;
            /* 下边框 */
            border-bottom: 10px dashed purple;
        }

        .mav {
            /*
            200*200盒子上边框红色，其余边框蓝色
             */
            width: 200px;
            height: 200px;
            border: 10px blue solid;
            border-top: 10px red solid;
        }
    </style>
</head>
<body>
<div class="bav"></div>
<hr/>
<div class="mav"></div>
</body>
</html>